.class public Lcom/netease/newsreader/activity/AccountLogin;
.super Lcom/netease/newsreader/activity/BaseActivity;
.source "AccountLogin.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/netease/newsreader/activity/AccountLogin$LoginHandler;
    }
.end annotation


# instance fields
.field private NetErrorInfo:Ljava/lang/String;

.field private board:Ljava/lang/String;

.field private forgetpassword:Landroid/widget/TextView;

.field private forgetpasswordListner:Landroid/view/View$OnClickListener;

.field httpHandler:Landroid/os/Handler;

.field private isNetError:Z

.field private isRegister:Z

.field private isonlylogin:Z

.field private ispic:Z

.field private isreply:Z

.field loginHandler:Landroid/os/Handler;

.field private loginsuccess:Z

.field private passlength:I

.field private password:Ljava/lang/String;

.field private pnum:Ljava/lang/String;

.field private postid:Ljava/lang/String;

.field private privatehandler:Landroid/os/Handler;

.field private proDialog:Landroid/app/ProgressDialog;

.field private registerListener:Landroid/view/View$OnClickListener;

.field private registernetease:Landroid/widget/TextView;

.field private registerneteaseListner:Landroid/view/View$OnClickListener;

.field private rst:Ljava/lang/String;

.field private set_prefs:Landroid/content/SharedPreferences;

.field private seturl:Ljava/lang/String;

.field private sharefloor:Z

.field private shareimg:Ljava/lang/String;

.field private sharetitle:Ljava/lang/String;

.field private shareurl:Ljava/lang/String;

.field private submitListener:Landroid/view/View$OnClickListener;

.field private tie:Z

.field private userlength:I

.field private username:Ljava/lang/String;

.field private view_loginSubmit:Landroid/widget/Button;

.field private view_password:Landroid/widget/EditText;

.field private view_userName:Landroid/widget/EditText;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 43
    invoke-direct {p0}, Lcom/netease/newsreader/activity/BaseActivity;-><init>()V

    .line 45
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->rst:Ljava/lang/String;

    .line 59
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->NetErrorInfo:Ljava/lang/String;

    .line 61
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->isonlylogin:Z

    .line 62
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->sharetitle:Ljava/lang/String;

    .line 63
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->shareurl:Ljava/lang/String;

    .line 64
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->seturl:Ljava/lang/String;

    .line 65
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->shareimg:Ljava/lang/String;

    .line 66
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->tie:Z

    .line 67
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->ispic:Z

    .line 68
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->sharefloor:Z

    .line 69
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->isreply:Z

    .line 70
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->board:Ljava/lang/String;

    .line 71
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->postid:Ljava/lang/String;

    .line 72
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->pnum:Ljava/lang/String;

    .line 80
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->isRegister:Z

    .line 83
    iput v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->userlength:I

    .line 84
    iput v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->passlength:I

    .line 208
    new-instance v0, Lcom/netease/newsreader/activity/AccountLogin$1;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/AccountLogin$1;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->submitListener:Landroid/view/View$OnClickListener;

    .line 250
    new-instance v0, Lcom/netease/newsreader/activity/AccountLogin$2;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/AccountLogin$2;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->registerListener:Landroid/view/View$OnClickListener;

    .line 260
    new-instance v0, Lcom/netease/newsreader/activity/AccountLogin$3;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/AccountLogin$3;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->registerneteaseListner:Landroid/view/View$OnClickListener;

    .line 269
    new-instance v0, Lcom/netease/newsreader/activity/AccountLogin$4;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/AccountLogin$4;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->forgetpasswordListner:Landroid/view/View$OnClickListener;

    .line 280
    new-instance v0, Lcom/netease/newsreader/activity/AccountLogin$5;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/AccountLogin$5;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->httpHandler:Landroid/os/Handler;

    .line 320
    new-instance v0, Lcom/netease/newsreader/activity/AccountLogin$6;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/AccountLogin$6;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->loginHandler:Landroid/os/Handler;

    .line 650
    new-instance v0, Lcom/netease/newsreader/activity/AccountLogin$7;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/AccountLogin$7;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->privatehandler:Landroid/os/Handler;

    .line 43
    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/AccountLogin;)Landroid/widget/EditText;
    .locals 1
    .parameter

    .prologue
    .line 46
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_userName:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/AccountLogin;Landroid/app/ProgressDialog;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 52
    iput-object p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->proDialog:Landroid/app/ProgressDialog;

    return-void
.end method

.method static synthetic access$10(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 54
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->password:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$11(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 45
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->rst:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$12(Lcom/netease/newsreader/activity/AccountLogin;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 45
    iput-object p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->rst:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$13(Lcom/netease/newsreader/activity/AccountLogin;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 55
    iput-boolean p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->loginsuccess:Z

    return-void
.end method

.method static synthetic access$14(Lcom/netease/newsreader/activity/AccountLogin;)Z
    .locals 1
    .parameter

    .prologue
    .line 55
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->loginsuccess:Z

    return v0
.end method

.method static synthetic access$15(Lcom/netease/newsreader/activity/AccountLogin;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 59
    iput-object p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->NetErrorInfo:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$16(Lcom/netease/newsreader/activity/AccountLogin;)Landroid/content/SharedPreferences;
    .locals 1
    .parameter

    .prologue
    .line 60
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->set_prefs:Landroid/content/SharedPreferences;

    return-object v0
.end method

.method static synthetic access$17(Lcom/netease/newsreader/activity/AccountLogin;)Z
    .locals 1
    .parameter

    .prologue
    .line 61
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->isonlylogin:Z

    return v0
.end method

.method static synthetic access$18(Lcom/netease/newsreader/activity/AccountLogin;)Z
    .locals 1
    .parameter

    .prologue
    .line 69
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->isreply:Z

    return v0
.end method

.method static synthetic access$19(Lcom/netease/newsreader/activity/AccountLogin;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 650
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->privatehandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$2(Lcom/netease/newsreader/activity/AccountLogin;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 57
    iput-boolean p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->isNetError:Z

    return-void
.end method

.method static synthetic access$20(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->sharetitle:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$21(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 63
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->shareurl:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$22(Lcom/netease/newsreader/activity/AccountLogin;)Z
    .locals 1
    .parameter

    .prologue
    .line 66
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->tie:Z

    return v0
.end method

.method static synthetic access$23(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 64
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->seturl:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$24(Lcom/netease/newsreader/activity/AccountLogin;)Z
    .locals 1
    .parameter

    .prologue
    .line 67
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->ispic:Z

    return v0
.end method

.method static synthetic access$25(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 65
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->shareimg:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$26(Lcom/netease/newsreader/activity/AccountLogin;)Z
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->sharefloor:Z

    return v0
.end method

.method static synthetic access$27(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 72
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->pnum:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$28(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 70
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->board:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$29(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 71
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->postid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$3(Lcom/netease/newsreader/activity/AccountLogin;)Z
    .locals 1
    .parameter

    .prologue
    .line 57
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->isNetError:Z

    return v0
.end method

.method static synthetic access$30(Lcom/netease/newsreader/activity/AccountLogin;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 83
    iput p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->userlength:I

    return-void
.end method

.method static synthetic access$31(Lcom/netease/newsreader/activity/AccountLogin;)V
    .locals 0
    .parameter

    .prologue
    .line 144
    invoke-direct {p0}, Lcom/netease/newsreader/activity/AccountLogin;->setButtonStatus()V

    return-void
.end method

.method static synthetic access$32(Lcom/netease/newsreader/activity/AccountLogin;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 84
    iput p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->passlength:I

    return-void
.end method

.method static synthetic access$4(Lcom/netease/newsreader/activity/AccountLogin;)Landroid/app/ProgressDialog;
    .locals 1
    .parameter

    .prologue
    .line 52
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->proDialog:Landroid/app/ProgressDialog;

    return-object v0
.end method

.method static synthetic access$5(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 59
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->NetErrorInfo:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$6(Lcom/netease/newsreader/activity/AccountLogin;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 53
    iput-object p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->username:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$7(Lcom/netease/newsreader/activity/AccountLogin;)Landroid/widget/EditText;
    .locals 1
    .parameter

    .prologue
    .line 47
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_password:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$8(Lcom/netease/newsreader/activity/AccountLogin;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 54
    iput-object p1, p0, Lcom/netease/newsreader/activity/AccountLogin;->password:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$9(Lcom/netease/newsreader/activity/AccountLogin;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 53
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->username:Ljava/lang/String;

    return-object v0
.end method

.method private findViewsById()V
    .locals 1

    .prologue
    .line 136
    const v0, 0x7f0c001a

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/AccountLogin;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_userName:Landroid/widget/EditText;

    .line 137
    const v0, 0x7f0c001c

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/AccountLogin;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_password:Landroid/widget/EditText;

    .line 138
    const v0, 0x7f0c001e

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/AccountLogin;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_loginSubmit:Landroid/widget/Button;

    .line 141
    const v0, 0x7f0c0020

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/AccountLogin;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->forgetpassword:Landroid/widget/TextView;

    .line 142
    const v0, 0x7f0c0021

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/AccountLogin;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->registernetease:Landroid/widget/TextView;

    .line 143
    return-void
.end method

.method private setButtonStatus()V
    .locals 2

    .prologue
    .line 145
    iget v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->userlength:I

    if-lez v0, :cond_0

    iget v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->passlength:I

    if-lez v0, :cond_0

    .line 146
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_loginSubmit:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 150
    :goto_0
    return-void

    .line 148
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_loginSubmit:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0
.end method

.method private setListener()V
    .locals 2

    .prologue
    .line 154
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_loginSubmit:Landroid/widget/Button;

    iget-object v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->submitListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 157
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->registernetease:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->registerneteaseListner:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 158
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->forgetpassword:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->forgetpasswordListner:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 159
    invoke-direct {p0}, Lcom/netease/newsreader/activity/AccountLogin;->setButtonStatus()V

    .line 161
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_userName:Landroid/widget/EditText;

    new-instance v1, Lcom/netease/newsreader/activity/AccountLogin$8;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/AccountLogin$8;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 183
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_password:Landroid/widget/EditText;

    new-instance v1, Lcom/netease/newsreader/activity/AccountLogin$9;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/AccountLogin$9;-><init>(Lcom/netease/newsreader/activity/AccountLogin;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 205
    return-void
.end method


# virtual methods
.method public goBackClick(Landroid/view/View;)V
    .locals 2
    .parameter "view"

    .prologue
    .line 305
    iget-boolean v1, p0, Lcom/netease/newsreader/activity/AccountLogin;->isRegister:Z

    if-eqz v1, :cond_0

    .line 306
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/netease/newsreader/activity/AccountSettingActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 307
    .local v0, i:Landroid/content/Intent;
    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/AccountLogin;->startActivity(Landroid/content/Intent;)V

    .line 309
    .end local v0           #i:Landroid/content/Intent;
    :cond_0
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/AccountLogin;->finish()V

    .line 310
    return-void
.end method

.method public onApplyTheme()V
    .locals 4

    .prologue
    const v3, 0x7f0c001e

    .line 669
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onApplyTheme()V

    .line 670
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/AccountLogin;->getThemeSettingsHelper()Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    .line 671
    .local v0, themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;
    const v1, 0x7f0c0017

    const v2, 0x7f020079

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 672
    const v1, 0x7f0c0001

    const v2, 0x7f0200fe

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 673
    const v1, 0x7f0c0003

    const v2, 0x7f080025

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/app/Activity;II)V

    .line 674
    const v1, 0x7f020086

    invoke-virtual {v0, p0, v3, v1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 675
    const v1, 0x7f080027

    invoke-virtual {v0, p0, v3, v1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/app/Activity;II)V

    .line 677
    const v1, 0x7f0c0002

    const v2, 0x7f020041

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 679
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .parameter "savedInstanceState"

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 89
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 90
    invoke-virtual {p0, v4}, Lcom/netease/newsreader/activity/AccountLogin;->requestWindowFeature(I)Z

    .line 91
    const v2, 0x7f030004

    invoke-virtual {p0, v2}, Lcom/netease/newsreader/activity/AccountLogin;->setContentView(I)V

    .line 92
    invoke-direct {p0}, Lcom/netease/newsreader/activity/AccountLogin;->findViewsById()V

    .line 93
    invoke-direct {p0}, Lcom/netease/newsreader/activity/AccountLogin;->setListener()V

    .line 94
    invoke-static {p0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->set_prefs:Landroid/content/SharedPreferences;

    .line 95
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/AccountLogin;->getIntent()Landroid/content/Intent;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    .line 97
    .local v0, bundle:Landroid/os/Bundle;
    if-eqz v0, :cond_1

    .line 98
    const-string v2, "isRegister"

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v2

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->isRegister:Z

    .line 99
    iget-boolean v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->isRegister:Z

    if-eqz v2, :cond_0

    .line 100
    const-string v2, "username"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 101
    .local v1, uname:Ljava/lang/String;
    iget-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_userName:Landroid/widget/EditText;

    invoke-virtual {v2, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 102
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    iput v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->userlength:I

    .line 103
    iput-boolean v4, p0, Lcom/netease/newsreader/activity/AccountLogin;->isonlylogin:Z

    .line 129
    .end local v1           #uname:Ljava/lang/String;
    :goto_0
    iget-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->view_userName:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->requestFocus()Z

    .line 131
    return-void

    .line 105
    :cond_0
    iput-boolean v3, p0, Lcom/netease/newsreader/activity/AccountLogin;->isonlylogin:Z

    .line 107
    const-string v2, "sharetitle"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->sharetitle:Ljava/lang/String;

    .line 108
    const-string v2, "shareurl"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->shareurl:Ljava/lang/String;

    .line 109
    const-string v2, "shareimg"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->shareimg:Ljava/lang/String;

    .line 110
    const-string v2, "tie"

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v2

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->tie:Z

    .line 111
    const-string v2, "seturl"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->seturl:Ljava/lang/String;

    .line 112
    const-string v2, "ispic"

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v2

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->ispic:Z

    .line 113
    const-string v2, "sharefloor"

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v2

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->sharefloor:Z

    .line 114
    const-string v2, "board"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->board:Ljava/lang/String;

    .line 115
    const-string v2, "postid"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->postid:Ljava/lang/String;

    .line 116
    const-string v2, "pnum"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->pnum:Ljava/lang/String;

    .line 123
    const-string v2, "isreply"

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v2

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/AccountLogin;->isreply:Z

    goto :goto_0

    .line 126
    :cond_1
    iput-boolean v4, p0, Lcom/netease/newsreader/activity/AccountLogin;->isonlylogin:Z

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 314
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->proDialog:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->proDialog:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 315
    iget-object v0, p0, Lcom/netease/newsreader/activity/AccountLogin;->proDialog:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    .line 316
    :cond_0
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onDestroy()V

    .line 317
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 297
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    .line 298
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/AccountLogin;->goBackClick(Landroid/view/View;)V

    .line 301
    :cond_0
    invoke-super {p0, p1, p2}, Lcom/netease/newsreader/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    return v0
.end method
